#ifndef GMCreateNetworkedActor_h__
#define GMCreateNetworkedActor_h__

#include "GameMessage.h"

class GMCreateNetworkedActor : public GameMessage
{
public:
	GMCreateNetworkedActor() : m_whichModel(-1), m_networkActorID(-1) {}
	void SetWhichModel(int whichModel){m_whichModel = whichModel;}
    void SetNetworkID(int ID){m_networkActorID = ID;}
	virtual void WriteToSckMsg( Networking::SockMsg* sm );
	virtual bool Execute();
	virtual bool ReadFromSckMsg(Networking::SockMsg* sm );
	virtual const char* GetTypeName() const;

private:    
	int m_whichModel;
    int m_networkActorID;
public:
	static const char* NAME;
};

#endif // GMCreateNetworkedActor_h__
